package csw;

import java.util.Scanner;

public class ch2ex_6 {

	public static void main(String[] args) {
		// 배열 변수 선언
		
		
		int intArray[] = new int[10];
		int i = 1;
	
		
		Scanner sc = null;
		sc = new Scanner(System.in);
	
	
	
		System.out.println("숫자를 입력 하시오");
		intArray[i] =sc.nextInt();
		
		for(i = 1;i<intArray.length;i++){
			System.out.println(intArray[i]);
		}
		
		System.out.println(i);
		
		
		sc.close();
		


	}

}
